<#assign module="car" />
<@override name="header">
</@override>
<@override name="body">
<div class="row">

      <div class="col-xs-8">
        
              
              <div class="form-group col-sm-2" style="padding-left:0px;">
				<select class="form-control" name="shopId" id="shopId" required>
				   <option value="">门店选择</option>
				</select>
			  </div>
			  
			  <div class="form-group col-sm-2" style="padding-left:0px;">
				<select class="form-control" name="isGrounding" id="isGrounding" required>
				   <option value="1">已上架</option>
				   <option value="0">已下架</option>
				</select>
			  </div>
			  
			  <div class="form-group col-sm-2" style="padding-left:0px;">
                <input type="text" name="searchParam" id="searchParam" class="form-control"  placeholder="输入车辆名称/车牌号">
              </div>
              
              <div class="form-group col-sm-2" style="padding-left:0px;">
                  <button type="button" id="searchButton" class="btn btn-primary"><i class="icon-search"></i>&nbsp;搜索</button>
              </div>
              
           
      </div>
      <div class="col-xs-4">
      	<button class="pull-right btn btn-primary" onclick="window.location='${ctx}/car/add';"><i class="icon-plus"></i>&nbsp;添加汽车信息</button>
      </div>
  </div>

<div class="row margin-top">
	<div class="col-xs-12">
	<div class="panel panel-primary">
	<div class="table-responsive">
		<table class="table table-hover table-striped">
			<tbody id="rentcar_tbody">
			<tr style="font-size:14px;">
				<th>车辆名称</th>
				<th>租金</th>
				<th>押金</th>
				<th>品牌</th>
				<th>车牌号</th>
				<th>所属门店</th>
				<th>变速箱</th>
				<th>车型</th>
				<th>排量</th>
				<th>座位数</th>
				<th>行驶里程</th>
				<th>购置时间</th>
				<th>所在地</th>
				<th>限行</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
			</tbody>
		</table>
		
		
		<ul class="pagination pull-left pagination-sm pageshow" style="display:none;">
		<li><a></a></li>
	</ul>
	<ul class="pagination pull-left pagination-sm pagedata" style="display:none;">
    </ul>
		
	</div>
	</div>
	</div>
</div>
</@override>
<@override name="footer">
	<script type="text/javascript">
		window.daijia = {
			ctx:'${ctx}',
			userId:'<@shiro.principal property='id'/>'
		};
	</script>
	<script src="${ctx}/assets/js/pushmessage.js"></script>
	<script src="${ctx}/assets/js/rent/car.js"></script>
</@override>
<@extends name="../layout.ftl"/>
